# -*- coding:utf-8 -*-
"""
Created on 02.02.2010

@author: r4smus
"""

#!/usr/bin/env python
#
# Program to read and print a file
#


file = open("alice.txt","r")
text = file.readlines()
file.close()

text.reverse()

for line in text:
    print line,
print